//
//  RWDeliveryViewController.h
//  RedWine
//
//  Created by Liufangfang on 2017/3/26.
//  Copyright © 2017年 HuiBangKe. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, RWDeliveryStyle) {

    RWAllDeliveryStyle,
    RWWorkDayDeliveryStyle,
    RWWeekEndDeliveryStyle
};

@class RWDeliveryViewController;

@protocol RWDeliveryViewControllerDelegate <NSObject>

@optional
- (void)selectDeliveryViewController:(RWDeliveryViewController *)deliveryVC didSelectDeliveryStyle:(NSString *)deliveryStyle;

@end

@interface RWDeliveryViewController : UIViewController<UITableViewDataSource, UITableViewDelegate>

@property (strong, nonatomic) UITableView *deliveryTV;

@property (nonatomic, assign) RWDeliveryStyle deliveryStyle;

@property (nonatomic, weak) id<RWDeliveryViewControllerDelegate> delegate;

@end
